package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * wx消息对象 tab_chat_msg
 * 
 * @author ruoyi
 * @date 2024-07-12
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TabChatMsg implements Serializable
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;



    String path;
    /**
     * 内容
     */

    private String content;
    /**
     * 当是群聊的时候 为群id,否则为微信id
     */
    private String fromGroup;
    /**
     * 微信id
     */
    private String fromUser;
    private Integer isSendMsg;
    /**
     * 1通过手机发送
     */
    private Integer isSendByPhone;
    private Long msgId;
    private Integer pid;
    private String sign;
    private String signature;
    private String time;
    private Integer timestamp;

    /**
     * 对用户,如果是文件助手是filehelper
     */
    private String toUser;
    /**
     * 类型
     */
    private Integer type;

    private Date createTime=new Date();

    /** 0:待处理，1:成功，2:失败 */
    @Excel(name = "0:待处理，1:成功，2:失败")
    private Long state;


}
